<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>jQuery_Object_vs_DOM_Object</title>
    <script src="/static/jQuery-1.11/jquery-1.11.3.min.js"></script>
    <script>
        console.log($ === jQuery); // 都是一个函数
        window.onload=function () {
            //DOM对象
            var btn=document.getElementById("btn");
            console.log(btn);

            //将DOM对象转换成JQuery对象
              var $btn=$('btn');
            console.log($btn);
            //将JQuery对象转换成DOM对象
            console.log($btn.get());
        }
    </script>
</head>
<body>
            <button id="btn">按钮</button>
</body>
</html>
